Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the IOCTL numbers so that ebpfapi.dll for x64 and x64-NativeOnly are cross-compatible. #3305

Merged
merged 14 commits into from
Mar 5, 2024

Conversation

saxena-anurag
Copy link
Contributor

@saxena-anurag saxena-anurag commented Feb 27, 2024

Fixes #3126

Description

This PR fixes the IOCTL numbers so that ebpfapi.dll for x64 and x64-NativeOnly are cross-compatible.

Changes:

  1. Enable all the IOCTL numbers and block the JIT / interpret related IOCTLs in ebpfcore.
  2. Add new tests for the new enabled IOCTL paths. Since these tests are in unit_tests, and unit_tests are today not run for NativeOnly* builds, added unit_tests execution for NativeOnly* builds also.
  3. Some other minor fixes.

Testing

Added new tests.

Documentation

No

Installation

No.

@saxena-anurag saxena-anurag changed the title backup [DRAFT] Feb 27, 2024
@saxena-anurag saxena-anurag changed the title [DRAFT] Fix the IOCTL numbers so that ebpfapi.dll for x64 and x64-NativeOnly are cross-compatible. Mar 1, 2024
Copy link
Collaborator

@dthaler dthaler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now, thanks!

@saxena-anurag saxena-anurag enabled auto-merge March 4, 2024 22:57
@saxena-anurag saxena-anurag added this pull request to the merge queue Mar 5, 2024
Merged via the queue into microsoft:main with commit 5011c71 Mar 5, 2024
80 checks passed
@saxena-anurag saxena-anurag deleted the user/anusa/issue_3126 branch March 5, 2024 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix the IOCTL numbers so that ebpfapi.dll for x64 and x64-NativeOnly are cross-compatible.
3 participants